﻿using ManagementSystem.Filter;
using MS.Enums.Common;
using MS.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ManagementSystem.Areas.BMS.Controllers
{
  
    public class BaseController : Controller
    {
        // GET: BMS/Base
        public ActionResult Index()
        {
            if (SecurityIdentity.GetLoginUid(Platform.BMS) == 0)
            {
                return Redirect("/BMS/Login");
            }
            return View();
        }

        public ActionResult Icon()
        {
            return View();
        }
    }
}